<?php
return [

	//是否开启
	'isopen_config'	=> [
		'0'	=> '<font color="red">关闭</font>',
		'1'	=> '开启',
	],
	'yes_config' => [
		'0'	=> '<font color="red">否</font>',
		'1'	=> '是',
	],
	//审核状态
	'status_config'	=> [
		'0'	=> '',
		'1'	=> '待审核',
		'2'	=> '已通过',
	],
	
	//=====商品相关

	//留言字段选项
	'leavemess_option_config' => [
		'1' => array(
			'issys'	=> 1,
			'name'	=> '姓名',
			'desc'	=> '系统预设字段',
			'flag'	=> 'realname',
		),
		'2' => array(
			'issys'	=> 1,
			'name'	=> '手机',
			'desc'	=> '系统预设字段',
			'flag'	=> 'mobile',
		),
		'3' => array(
			'issys'	=> 1,
			'name'	=> '人数',
			'desc'	=> '系统预设字段',
			'flag'	=> 'sign_num',
		),
		'4' => array(
			'issys'	=> 1,
			'name'	=> '身份证号码',
			'desc'	=> '系统预设字段',
			'flag'	=> 'idcard',
		),
		'5' => array(
			'issys'	=> 1,
			'name'	=> '地址',
			'desc'	=> '系统预设字段',
			'flag'	=> 'address',
		),
		'21' => array(
			'name'	=> '扩展字段一',
			'flag'	=> 'expand1',
		),
		'22' => array(
			'name'	=> '扩展字段二',
			'flag'	=> 'expand2',
		),
		'23' => array(
			'name'	=> '扩展字段三',
			'flag'	=> 'expand3',
		),
		'24' => array(
			'name'	=> '扩展字段四',
			'flag'	=> 'expand4',
		),
	],

	//留言信息类型
	'leavemess_type_config' => [
		'text'		=> '文字',
		'textarea'	=> '多行文字',
		'radio'		=> '单选',
		'checkbox'	=> '选择',
	],

	//=====订单相关
	//订单类型
	'ord_type_config' => [
		'1'		=> '商品订单',
		'21'	=> '会员卡订单',
	],

	//订单商品类型
	'ord_product_config' => [
		'1'		=> '商品订单',
		'2'		=> '拼团订单',
		'3'		=> '砍价订单',
	],
	
	//订单交易状态
	'trade_status_config' => [
		'1'		=> '待付款',
		'2'		=> '已支付', //已支付
		'3'		=> '商家已发货',
		'5'		=> '已完成', //已核销
		'7'		=> '超时交易完毕',
		'8'		=> '用户取消',
		'11'	=> '退款/售后',
	],

	//订单支付状态
	'pay_status_config' => [
		'1'		=> '待付款',
		'2'		=> '已支付',
	],

	//订单退款状态
	'refund_status_config' => [
		'1'		=> '普通订单',
		'2'		=> '申请退款',
		'8'		=> '退款中',
		'9'		=> '已退款',
	],

	//订单退款表状态
	'order_refund_status_config' => [
		'1'		=> '待处理',
		'2'		=> '已处理',
	],

	//订单商品状态
	'order_product_status_config' => [
		'1'		=> '待付款',
		'2'		=> '已支付',
		'3'		=> '已发货',
		'8'		=> '退款中',
		'9'		=> '已退款',
	],
	
	//订单配送状态
	'delivery_status_config' => [
		'1'		=> '未配送',
		'2'		=> '已配送',
	],

	//订单删除状态
	'del_status_config' => [
		'1'		=> '正常',
		'2'		=> '<font color="red">已失效</font>',
	],

	'pay_class_config' => [
		'1'	=> array(
			'class'	=> 'order-state-topay',
			'show'	=> '等待买家付款',
		),
		'2'	=> array(
			'class'	=> 'order-state-success',
			'show'	=> '等待商家发货',
		),
		'3'	=> array(
			'class'	=> 'order-state-success',
			'show'	=> '商家已发货',
		),
		'5'	=> array(
			'class'	=> 'order-state-success',
			'show'	=> '交易成功',
		),
		'7'	=> array(
			'class'	=> 'order-state-closed',
			'show'	=> '交易关闭 (超时未付款)',
		),
		'8'	=> array(
			'class'	=> 'order-state-cancel',
			'show'	=> '用户取消',
		),
		'11'	=> array(
			'class'	=> 'order-state-cancel',
			'show'	=> '退款/售后',
		),
	],

	//评价分数
	'evaluation_score_config' => [
		'1'	=> '非常差',
		'2' => '差',
		'3'	=> '一般',
		'4'	=> '好',
		'5'	=> '非常好',
	],

	//地址类型
	'consignee_type_config' => [
		'1'	=> '公司',
		'2'	=> '家',
		'3'	=> '学校',
		'4'	=> '其他',
	],
	
	//=====运费模板系列

	//运费模板计费方式
	'delivery_config' => [
		'1'	=> '按重量',
		'2' => '按件数',
	],

	'province_config' => [
		'1'		=> [
			'name'	=> '华东',
			'provs'	=> [
				'3'		=> '上海市',
				'10'	=> '江苏省',
				'11'	=> '浙江省',
				'12'	=> '安徽省',
				'14'	=> '江西省',
			]
		],
		'2'		=> [
			'name'	=> '华北',
			'provs'	=> [
				'1'		=> '北京市',
				'2'		=> '天津市',
				'5'		=> '河北省',
				'6'		=> '山西省',
				'15'	=> '山东省',
				'29'	=> '内蒙古自治区',
			]
		],
		'3'		=> [
			'name'	=> '华中',
			'provs'	=> [
				'16'	=> '河南省',
				'17'	=> '湖北省',
				'18'	=> '湖南省',
			]
		],
		'4'		=> [
			'name'	=> '华南',
			'provs'	=> [
				'13'	=> '福建省',
				'19'	=> '广东省',
				'20'	=> '海南省',
				'28'	=> '广西壮族自治区',
			]
		],
		'5'		=> [
			'name'	=> '东北',
			'provs'	=> [
				'7'		=> '辽宁省',
				'8'		=> '吉林省',
				'9'		=> '黑龙江省',
			]
		],
		'6'		=> [
			'name'	=> '西北',
			'provs'	=> [
				'24'	=> '陕西省',
				'25'	=> '甘肃省',
				'26'	=> '青海省',
				'31'	=> '宁夏回族自治区',
				'32'	=> '新疆维吾尔自治区',
			]
		],
		'7'		=> [
			'name'	=> '西南',
			'provs'	=> [
				'4'		=> '重庆市',
				'21'	=> '四川省',
				'22'	=> '贵州省',
				'23'	=> '云南省',
				'30'	=> '西藏自治区',
			]
		],
		'8'		=> [
			'name'	=> '港澳台',
			'provs'	=> [
				'27'	=> '台湾省',
				'33'	=> '香港特别行政区',
				'34'	=> '澳门特别行政区',
			]
		],
		'9'		=> [
			'name'	=> '海外',
			'provs'	=> [
				'29'	=> '其他',
			]
		],
	],

	'dist_config' => [],

	//=====推广分成
	'affiliate_record_status_config' => [
		'1'		=> '等待处理',
		'2'		=> '已分成',
		'3'		=> '拒绝',
	],

	//=====用户相关

	//=====留言相关
	'leaveword_status_config' => [
		'1'	=> '待回复',
		'2' => '已回复',
	],

	'leaveword_msg_type_config' => [
		'1'	=> '留言',
		'2' => '投诉',
		'3' => '询问',
		'4' => '售后',
		'5' => '求购',
	],

	//=====首页模板相关
	//模板类别
	'template_module_config' => [
		'1'		=> [
			'name'	=> '广告位',
			'flag'	=> 'advert',
		],
		'2'		=> [
			'name'	=> '自定义模板',
			'flag'	=> 'custom',
		],
		'3'		=> [
			'name'	=> '活动专区',
			'flag'	=> 'ad',
		],
		'4'		=> [
			'name'	=> '砍价专区',
			'flag'	=> 'ad',
		],
		'5'		=> [
			'name'	=> '红包专区',
			'flag'	=> 'ad',
		],
		'6'		=> [
			'name'	=> '抢购专区',
			'flag'	=> 'ad',
		],
		'7'		=> [
			'name'	=> '实力推荐',
			'flag'	=> 'ad',
		],
		'8'		=> [
			'name'	=> '预约专区',
			'flag'	=> 'ad',
		],
	],

	//推送方式
	'template_push_config' => [
		'1'	=> '自动',
		'2'	=> '手动'
	],

	//数据来源
	'template_source_config' => [
		'product'	=> '商品',
	],

	//排序类型
	'template_sort_config' => [
		'1'	=> '最新商品',
		'2'	=> '默认排序',
		'3'	=> '最热商品',
		'4'	=> '销售最多',
		'5'	=> '评论最多',
	],
	
	//=====页面跳转相关
	//目标页面类型
	'page_type_config' => [
		'1' => [
			'flag' => 'index',
			'name' => '首页',
		],
		'2' => [
			'flag' => 'category',
			'name' => '商品分类',
		],
		'3' => [
			'flag' => 'product_detail',
			'name' => '商品详情',
		],
		'4' => [
			'flag' => 'search',
			'name' => '搜索页',
		],
		'4' => [
			'flag' => 'list',
			'name' => '列表',
		],
		'5' => [
			'flag' => 'link',
			'name' => '外链',
		],
		'11' => [
			'flag' => 'shopcart',
			'name' => '购物车',
		],
		'12' => [
			'flag' => 'mine',
			'name' => '个人中心',
		],
		'13' => [
			'flag' => 'vipcard',
			'name' => '会员卡',
		],
		'14' => [
			'flag' => 'enter',
			'name' => '商家入驻',
		],
		'15' => [
			'flag' => 'article_detail',
			'name' => '文章详情',
		],
	],
	
	//目标页面图标
	'page_icon_config' => [
		'1' => 'footer-home',
		'2' => 'footer-category',
		'3' => 'footer-card',
		'4' => 'footer-user',
		'5' => 'footer-shopcart',
		'6' => 'footer-evaluation',
		'7' => 'footer-shop',
	],

	//页面列表配置
	'page_list_config' => [
		'1' => [
			'flag' => 'product_list',
			'name' => '商品',
		],
		'2' => [
			'flag' => 'index',
			'name' => '活动',
		],
		'3' => [
			'flag' => 'index',
			'name' => '商家',
		],
		'4' => [
			'flag' => 'index',
			'name' => '评论',
		],
		'5' => [
			'flag' => 'index',
			'name' => '发现',
		],
		'6' => [
			'flag' => 'index',
			'name' => '抢购',
		],
		'7' => [
			'flag' => 'index',
			'name' => '订单',
		],
		'8' => [
			'flag' => 'index',
			'name' => '红包',
		],
		'9' => [
			'flag' => 'index',
			'name' => '拼团',
		],
		'10' => [
			'flag' => 'index',
			'name' => '砍价',
		],
		'11' => [
			'flag' => 'index',
			'name' => '抽奖',
		],
		'12' => [
			'flag' => 'index',
			'name' => '福袋',
		],
		'13' => [
			'flag' => 'index',
			'name' => '九宫格',
		],
	],
	
];